package com.itheima.health.service;

import com.itheima.health.pojo.Order;
import com.itheima.health.pojo.UserOrder;

public interface OrderService {
    /**
     * 预约下单
     * @param userOrder
     */
    void addOrder(UserOrder userOrder);

    /**
     * 根据orderId查询预订信息
     * @param id
     * @return
     */
    Order findById(Integer id);
}
